package histogram;

import draw.ExploringMedics;
import java.util.ArrayList;

public class HistogramDescr {

    public final static int EDGE = 0;
    public final static int MITAH = 1;
    public final static int LIPID = 2;
    public final static int BACK = 3;
    public final static int MARK_EDGE = 10;
    
    public int width;
    public int height;
    
    ArrayList<Integer> xList = new ArrayList<Integer>();
    ArrayList<Integer> yList = new ArrayList<Integer>();
    ArrayList<double[]> valueList = new ArrayList<double[]>();
    
    public int bins;
    public int divisor;
    public int window;
    public int offset;

    public HistogramDescr(int width, int height, int bins, int window, int offset) {
        this.width = width;
        this.height = height;
        this.bins = bins;
        this.window = window;
        this.offset = offset;
        if (bins > 0) {
            divisor = (ExploringMedics.WHITE+1) / bins;
        }
    }
}
